import re
class fjaic():
    def __init__(self):
        pass
    def parser(self,r):
        regex = ur"\"session\.token\": \"(.*?)\""
        searchObj = re.search(regex, r.text)
        if searchObj:
            token = searchObj.group(1)
            data = {
                'searchType': 1,
                'captcha': '',
                'session.token': token,
                'condition.keyword': ''}
            return data
        return None
    